package com.qfmy.app.mapper.novel;

import com.qfmy.model.entity.novel.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.qfmy.app.mapper.novel
 * @date 2025/4/14
 * @description 小说分类
 */
@Mapper
@SuppressWarnings("all")
public interface CategoryMapper {

    /**
     * 根据类型获取分类
     * @param type
     * @return
     */
    List<Category> getCategoryByType(Integer type);
}
